<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>员工结算单明细管理</title>
	<meta name="decorator" content="default"/>
	<script type="text/javascript">
		function page(n,s){
			$("#pageNo").val(n);
			$("#pageSize").val(s);
			$("#searchForm").submit();
        	return false;
        }
	</script>
</head>
<body>
<div class="icon-buttons">
	<a data-role="button" data-inline="true" data-icon="back" data-iconpos="notext"  href="${ctx}/employee/storeEmployeeAccounting">返回</a>
</div>
<br />
	<form:form id="searchForm" modelAttribute="storeEmployeeAccountingDetail" action="${ctx}/employee/storeEmployeeAccountingDetail/" method="post">
		<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
		<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
	</form:form>
	<tags:message content="${message}"/>
	<table id="contentTable" data-role="table" class="ui-responsive table-stroke">
		<thead><tr><th>员工名称</th><th>职务</th><th>基本工资</th><th>新开卡提成</th><th>产品销售提成</th><th>手工护理提成</th><th>卡充值提成</th><th>浮动工资</th><th>合计</th><th>备注</th></tr></thead>
		<tbody>
		<c:forEach items="${page.list}" var="detail">
			<tr>
				<td>${detail.employee.name}</td>
				<td>${detail.title}</td>
				<td>${detail.base_salary}</td>
				<td>${detail.new_card_bonus}</td>
				<td>${detail.product_sale_bonus}</td>
				<td>${detail.do_care_bonus}</td>
				<td>${detail.recharge_card_bonus}</td>
				<td>${detail.float_salary}</td>
				<td>${detail.total}</td>
				<td>${detail.remark}</td>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	<div class="pagination">${page}</div>
</body>
</html>
